package com.hecate.user.dto.dep;

import java.util.Date;
import java.util.List;

/**
 * @author 黄星星
 * @date 2020-07-03
 */
public class DepDTO {

    /**
     * 主键
     */
    private Long id;

    /**
     * bid
     */
    private String bid;

    /**
     * 公司cid
     */
    private Long cid;

    /**
     * 创建时间
     */
    private Date gmtCreate;

    /**
     * 更新时间
     */
    private Date gmtModified;

    /**
     * 版本
     */
    private String lockVersion;

    /**
     * 返回状态
     */
    private Integer status;


    /**
     * 部门名称
     */
    private String name;

    /**
     * 父部门BID
     */
    private String parentDepBid;

    /**
     * 部门层级
     */
    private Long level;

    /**
     * 子集部门
     */
    private List<DepDTO> childDepList;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getBid() {
        return bid;
    }

    public void setBid(String bid) {
        this.bid = bid;
    }

    public Long getCid() {
        return cid;
    }

    public void setCid(Long cid) {
        this.cid = cid;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    public String getLockVersion() {
        return lockVersion;
    }

    public void setLockVersion(String lockVersion) {
        this.lockVersion = lockVersion;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getParentDepBid() {
        return parentDepBid;
    }

    public void setParentDepBid(String parentDepBid) {
        this.parentDepBid = parentDepBid;
    }

    public Long getLevel() {
        return level;
    }

    public void setLevel(Long level) {
        this.level = level;
    }

    public List<DepDTO> getChildDepList() {
        return childDepList;
    }

    public void setChildDepList(List<DepDTO> childDepList) {
        this.childDepList = childDepList;
    }
}
